#ifndef _WATERSHED_H_
#define _WATERSHED_H_



typedef struct tagPixel {
    int x;
    int y;
    int v;
} Pixel;

void Init(Pixel***& im, int cx, int cy);
void Free(Pixel***& im, int cx, int cy);
void RadixSort(Pixel**& pixels, int w, int h);
void Watershed_VS(Pixel***& imi, Pixel***& imo, Pixel***& imd, int width, int height);


#endif
